package test;

import org.apache.ibatis.session.SqlSession;

import dao.UserMapper;

import utils.MyBatisUtil;

public class testDao {

	public static void main(String[] args) {
		
		SqlSession sqlSessions=	MyBatisUtil.getSqlSession();
		
		UserMapper usermapper=sqlSessions.getMapper(UserMapper.class);
		
		System.out.println(usermapper.getAllRecord());		
	
	}
}
